package com.gitee.xmhzzz.device.service.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * @ClassName DeviceUpLogRecord
 * @Description
 * @Author wzq
 * @Date 2024/7/14 13:29
 * @Version 1.0
 */

@Getter
@Setter
@ToString
@TableName("device_up_log_record")
@Schema(defaultValue = "DeviceUpLogRecord对象", description = "设备上报日志表")
public class DeviceUpLogRecord {
    @Schema(name = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(name = "设备号")
    private String deviceId;

    @Schema(name = "类型")
    private String operationType;

    @Schema(name = "内容")
    private String content;

    @Schema(name = "创建人")
    private String createBy;

    @Schema(name = "创建时间")
    private LocalDateTime createTime;

}
